<?php

function __autoload($class_name) {
	if(preg_match("/^.+Page$/", $class_name)) {
		require_once("../sys/pages/$class_name.inc");
	}
	else {
		require_once("../sys/$class_name.inc");
	}
}

?>
